<?php foreach($resList as $key=>$val)?>
<?php foreach($imgRevList as $key=>$value)?>
<section id="divCatReviews_1" class="cat-widget wdg-cat-reviews cat-scroll-box clearfix" data-showonscroll="true" data-animation="fadeIn">
    <div class="widget-title">
        <h3><a href="#"><?php echo $val["name"]; ?></a></h3>
        <div class="sep-widget"></div>
    </div><br/>
    {_include detail_slide}
    <hr/>
    <div class="row">
        <div class="col-md-3"><h4>รายละเอียด</h4></div>
        <div class="col-md-7"></div>
        <div class="col-md-1"></div>
        <div class="col-md-1"></div>
    </div>
    <p><?php echo $val["content"];?></p><br/>
    <div class="row">
        <div class="col-md-2"></div>
        <div class="col-md-4"><a href="<?php echo base_url("restaurant/user_review/".$val["id"]);?>">
            <img src="<?php echo $imagepath;?>/write1.png" onMouseOver="<?php echo $imagepath;?>/write2.png"></a>
        </div>
        <div class="col-md-4">
            <a href="#"><img src="<?php echo $imagepath;?>/post1.png" onMouseOver="<?php echo $imagepath;?>/post2.png"></a>
        </div>
    </div><br/>
    <div class="widget-title">
        <div class="sep-widget"></div>
    </div><br/>
   <?php foreach($revList as $key=>$values){?>
    <div class="row">
        <div class="col-md-2">
            <a href="#"><img src="<?php echo $imagepath;?>/new6.jpg" width="71" height="70"></a>
        </div>         
        <div class="col-md-10">
            <h3><a href="<?php echo base_url("home/user_pro");?>">น้องเบียร์</a></h3>
            <div class="meta-info">
                <span class="date-time"><i class="icon-alarm2"></i> 26 Feb 2013, 05:15 AM</span>
            </div>
        </div>
    </div> 
    <h3><?php echo $values['impression'];?></h3>
    <?php echo $values['content'];?>
    <?php } ?>
</section>
